Bug 1983713 - Use non-deprecated ast value. r=firefox-build-system-reviewers,nalexand...
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 19 Aug 2025 05:08:34 +0000 (05:08 +0000)
committerMike Hommey <glandium@debian.org>
Wed, 19 Aug 2026 00:51:19 +0000 (09:51 +0900)
commit280d13c03103f374d7fa8bd6b7664989ed2fa2ab
tree64b972d2dca24c5bbe43d9db1bee955a9ea1b85f
parent69afc32ff597ebab7ab62b59a5860daaf54716df
Bug 1983713 - Use non-deprecated ast value. r=firefox-build-system-reviewers,nalexander,ahochheiden

ast.Str was deprecated in python 3.12 and removed in 3.14. It inherited
from ast.Constant, `Str.s` was equivalent to `Constant.value`, so we can
use the latter on both old and newer python versions.

Differential Revision: https://phabricator.services.mozilla.com/D261511

Gbp-Pq: Topic fixes
Gbp-Pq: Name Bug-1983713-Use-non-deprecated-ast-value.-r-firefox-.patch
python/mach/mach/command_util.py